package com.ruoyi.his.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就诊对象 his_treat
 *
 * @author 吴绍艳
 * @date 2025-03-31
 */
public class HisTreat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病例ID */
    private Long treatId;

    /** 发病日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发病日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date treatDate;

    /** 是否传染（0否 1是） */
    @Excel(name = "是否传染", readConverterExp = "0=否,1=是")
    private String treatContagion;

    /** 主诉 */
    @Excel(name = "主诉")
    private String treatComplaint;

    /** 诊断信息 */
    @Excel(name = "诊断信息")
    private String treatInfo;

    /** 医生建议 */
    @Excel(name = "医生建议")
    private String treatAdvice;

    /** 删除标志（0正常 1删除） */
    private String delFlag;

    /** 患者ID */
    @Excel(name = "患者ID")
    private Long patientId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 医生ID */
    @Excel(name = "医生ID")
    private Long doctId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String doctName;

    public Long getQueueId() {
        return queueId;
    }

    public void setQueueId(Long queueId) {
        this.queueId = queueId;
    }

    private Long queueId;


    public void setTreatId(Long treatId)
    {
        this.treatId = treatId;
    }

    public Long getTreatId()
    {
        return treatId;
    }
    public void setTreatDate(Date treatDate)
    {
        this.treatDate = treatDate;
    }

    public Date getTreatDate()
    {
        return treatDate;
    }
    public void setTreatContagion(String treatContagion)
    {
        this.treatContagion = treatContagion;
    }

    public String getTreatContagion()
    {
        return treatContagion;
    }
    public void setTreatComplaint(String treatComplaint)
    {
        this.treatComplaint = treatComplaint;
    }

    public String getTreatComplaint()
    {
        return treatComplaint;
    }
    public void setTreatInfo(String treatInfo)
    {
        this.treatInfo = treatInfo;
    }

    public String getTreatInfo()
    {
        return treatInfo;
    }
    public void setTreatAdvice(String treatAdvice)
    {
        this.treatAdvice = treatAdvice;
    }

    public String getTreatAdvice()
    {
        return treatAdvice;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setPatientName(String patientName)
    {
        this.patientName = patientName;
    }

    public String getPatientName()
    {
        return patientName;
    }
    public void setDoctId(Long doctId)
    {
        this.doctId = doctId;
    }

    public Long getDoctId()
    {
        return doctId;
    }
    public void setDoctName(String doctName)
    {
        this.doctName = doctName;
    }

    public String getDoctName()
    {
        return doctName;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("treatId", getTreatId())
                .append("treatDate", getTreatDate())
                .append("treatContagion", getTreatContagion())
                .append("treatComplaint", getTreatComplaint())
                .append("treatInfo", getTreatInfo())
                .append("treatAdvice", getTreatAdvice())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("patientId", getPatientId())
                .append("patientName", getPatientName())
                .append("doctId", getDoctId())
                .append("doctName", getDoctName())
                .toString();
    }
}
